import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {ConShareManageComponent} from './con-share-manage.component';

const routes: Routes = [
    {
        path: '', component: ConShareManageComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-con-share-manage/add-con-share-manage.module#AddConShareManageModule'},
            {path: 'list', loadChildren: './list-con-share-manage/list-con-share-manage.module#ListConShareManageModule'},
            {path: 'modify', loadChildren: './modify-con-share-manage/modify-con-share-manage.module#ModifyConShareManageModule'},
            {path: 'report', loadChildren: './report-con-share-manage/report-con-share-manage.module#ReportConShareManageModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class ConShareManageRoutingModule {
}
